.el-segmented--vertical {
    flex-direction: column
}

.el-segmented--vertical .el-segmented__item {
    padding: 11px
}

.el-segmented {
    --el-segmented-color: var(--el-text-color-regular);
    --el-segmented-bg-color: var(--el-fill-color-light);
    --el-segmented-padding: 2px;
    --el-segmented-item-selected-color: var(--el-color-white);
    --el-segmented-item-selected-bg-color: var(--el-color-primary);
    --el-segmented-item-selected-disabled-bg-color: var(--el-color-primary-light-5);
    --el-segmented-item-hover-color: var(--el-text-color-primary);
    --el-segmented-item-hover-bg-color: var(--el-fill-color-dark);
    --el-segmented-item-active-bg-color: var(--el-fill-color-darker);
    --el-segmented-item-disabled-color: var(--el-text-color-placeholder);
    align-items: stretch;
    background: var(--el-segmented-bg-color);
    border-radius: var(--el-border-radius-base);
    box-sizing: border-box;
    color: var(--el-segmented-color);
    display: inline-flex;
    font-size: 14px;
    min-height: 32px;
    padding: var(--el-segmented-padding)
}

.el-segmented__group {
    align-items: stretch;
    display: flex;
    position: relative;
    width: 100%
}

.el-segmented__item-selected {
    background: var(--el-segmented-item-selected-bg-color);
    border-radius: calc(var(--el-border-radius-base) - 2px);
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 10px
}

.el-segmented__item-selected.is-disabled {
    background: var(--el-segmented-item-selected-disabled-bg-color)
}

.el-segmented__item-selected.is-focus-visible:before {
    border-radius: inherit;
    bottom: 0;
    content: "";
    left: 0;
    outline: 2px solid var(--el-segmented-item-selected-bg-color);
    outline-offset: 1px;
    position: absolute;
    right: 0;
    top: 0
}

.el-segmented__item {
    align-items: center;
    border-radius: calc(var(--el-border-radius-base) - 2px);
    cursor: pointer;
    display: flex;
    flex: 1;
    padding: 0 11px
}

.el-segmented__item:not(.is-disabled):not(.is-selected):hover {
    background: var(--el-segmented-item-hover-bg-color);
    color: var(--el-segmented-item-hover-color)
}

.el-segmented__item:not(.is-disabled):not(.is-selected):active {
    background: var(--el-segmented-item-active-bg-color)
}

.el-segmented__item.is-selected,
.el-segmented__item.is-selected.is-disabled {
    color: var(--el-segmented-item-selected-color)
}

.el-segmented__item.is-disabled {
    color: var(--el-segmented-item-disabled-color);
    cursor: not-allowed
}

.el-segmented__item-input {
    height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 0
}

.el-segmented__item-label {
    flex: 1;
    line-height: normal;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    transition: color .3s;
    white-space: nowrap;
    z-index: 1
}

.el-segmented.is-block {
    display: flex
}

.el-segmented.is-block .el-segmented__item {
    min-width: 0
}

.el-segmented--large {
    border-radius: var(--el-border-radius-base);
    font-size: 16px;
    min-height: 40px
}

.el-segmented--large .el-segmented__item-selected {
    border-radius: calc(var(--el-border-radius-base) - 2px)
}

.el-segmented--large .el-segmented--vertical .el-segmented__item {
    padding: 11px
}

.el-segmented--large .el-segmented__item {
    border-radius: calc(var(--el-border-radius-base) - 2px);
    padding: 0 11px
}

.el-segmented--small {
    border-radius: calc(var(--el-border-radius-base) - 1px);
    font-size: 14px;
    min-height: 24px
}

.el-segmented--small .el-segmented__item-selected {
    border-radius: calc(var(--el-border-radius-base) - 3px)
}

.el-segmented--small .el-segmented--vertical .el-segmented__item {
    padding: 7px
}

.el-segmented--small .el-segmented__item {
    border-radius: calc(var(--el-border-radius-base) - 3px);
    padding: 0 7px
}